@charset "utf-8";
/*在CSS里在，第一件事情应该是干什么    CSS也有编码*/
/* 第二件事件:初始化样式 */
*{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.gameBox {
	width: 480px;
	height: 850px;
	/*margin-left: auto;
	margin-right: auto;*/
	margin: auto;/*左右居中*/
	border: 1px solid black;
	/*
		如果是块级元素如div,table,ul等元素，
		给一个左右auto就可以居中
	*/
   position: relative;
}

.startDiv{
	position: absolute;
	top: 200px;
	left: 15px;
	text-align: center;
	background-color: #dddddd;
	padding: 50px 0;
	width: 450px;
	border: 2px solid #999999;
	border-radius: 10px;
}
.btnStart{
	width: 120px;
	border: 2px solid #999999;
	height: 40px;
	border-radius: 20px;
	margin-top: 20px;
	outline: none;
	cursor: pointer;
	display: none;
}

.endDiv{
	width: 450px;
	border: 2px solid #333333;
	position: absolute;	/*绝对定位*/
	top: 100px;
	left: 13px;
	text-align: center;
	border-radius: 5px;
	background-color: #dddddd;
	display: none;
}

.top {
	height: 45px;
	font-size: 22px;
	font-weight: bold;
	line-height: 45px;
}

.center {
	height: 250px;
	border-top: 2px solid #333333;
	border-bottom: 2px solid #333333;
	font-size: 22px;
	font-weight: bold;
	line-height: 250px;
}

.bottom {
	height: 45px;
	line-height: 45px;
}

.btnReStart {
	width: 120px;
	border: 2px solid #999999;
	height: 40px;
	border-radius: 20px;
	margin-top: 2px;
	outline: none;	/*去掉轮廓*/
	cursor: pointer;
}
